/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase - Exception4
 * <p>Powered by webrx On 2021-12-08 15:25:16
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Exception4 {
    public static void main(String[] args) {
        var e = new Exception4();
        int t = e.num();
        System.out.println(t);
        System.out.println(t);
        System.out.println(t);
    }

    public int num() {
        int i = 0;
        try {
            i = 6;
            return i;
            //System.out.println(6 / 0);
        } catch (Exception e) {
            e.printStackTrace();
        } finally {
            System.out.println("finally");
            System.out.println(i);
            i += 100;
            System.out.println(i);
            System.out.println("end....");
            //return i;
        }
        return i;
    }
}
